package wodegua.d6_movie;

public class MovieOperate {
    private Movie[] movies;

    public MovieOperate() {
    }

    public MovieOperate(Movie[] movies) {
        this.movies = movies;
    }

    //所有
    public void printAll(){
        for (int i = 0; i < this.movies.length; i++) {
            System.out.println("编号：" + this.movies[i].getId());
            System.out.println("名称：" + this.movies[i].getName());
        }
    }
    //查询

}
